{{ extend './layout.html' }}
{{ block 'head'}}  
<style>
  body{
    background-color: skyblue;
  }
</style>
{{ /block }}

{{ block 'content'}}

<div>
  <h1>
    hello {{ name }}
  </h1>
</div>

{{ /block }}

{{ block 'script'}} 
  <script>
    window.alert("这是自定义的 JS 脚本")
  </script>
{{ /block }}
